home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / 4dosnt.zip / 4NT.DOC next >
Text File  |  1993-04-30  |  87KB  |  2,134 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                              44
  9.                             44
  10.                            44      DDDDDDD        OOOOO        SSSSSS (R)
  11.                           44       DDDDDDDD      OOOOOOO      SSSSSSSS
  12.                          44  44    DD     DD    OO     OO    SS
  13.                         44   44    DD     DD    OO     OO    SS
  14.                        44    44    DD     DD    OO     OO     SSSSSS
  15.                       444444444    DD     DD    OO     OO      SSSSSS
  16.                        44444444    DD     DD    OO     OO           SS
  17.                              44    DD     DD    OO     OO           SS
  18.                              44    DDDDDDDD      OOOOOOO     SSSSSSSS
  19.                              44    DDDDDDD        OOOOO       SSSSSS
  20.  
  21.  
  22.  
  23.                           for the Windows NT (tm) Operating System
  24.  
  25.                                         Version 1.0
  26.  
  27.  
  28.  
  29.                                         Developed By
  30.                                   Rex Conn and Tom Rawson
  31.  
  32.                                       Documentation By
  33.                          Hardin Brothers, Rex Conn, and Tom Rawson
  34.  
  35.  
  36.  
  37.                                         Published By
  38.  
  39.                                       JP Software Inc.
  40.                                        P.O. Box 1470
  41.                                   East Arlington, MA 02174
  42.                                             USA
  43.  
  44.                                        (617) 646-3975
  45.                                      fax (617) 646-0904
  46.  
  47.  
  48.  
  49.  
  50.                Program and Documentation Copyright 1988 - 1993, Rex C. Conn
  51.                and JP Software Inc., All Rights Reserved.  4DOS is a
  52.                registered trademark of JP Software Inc.  Windows NT is a
  53.                trademark of Microsoft Corporation.  Other product and company
  54.                names are trademarks of their respective owners.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                     ACKNOWLEDGMENTS
  61.  
  62.  
  63.  
  64.  
  65.                We couldn't produce a product like 4DOS for Windows NT without
  66.                the dedication and quality work of many people.  Our thanks
  67.                to:
  68.  
  69.                     JP Software Staff:  Mike Bessy, Helen Coyne, Ellen Stone,
  70.                     Marcella Turner, Misty White.
  71.  
  72.                     Beta Test Support:  David Moskowitz, Guy Scharf, Larry
  73.                     Finkelstein, and Martin Schiff, of CompuServe's CONSULT
  74.                     forum.
  75.  
  76.                     Online Support:  Brian Miller and Tess Heder of Channel 1
  77.                     BBS; Don Watkins of CompuServe's IBMNET.
  78.  
  79.                     Beta Testers:  We can't list all of our beta testers
  80.                     here.  A special thanks to all of you who helped make
  81.                     4DOS for Windows NT elegant, reliable, and friendly!
  82.  
  83.                                                                      CONTENTS
  84.           ___________________________________________________________________
  85.  
  86.  
  87.  
  88.           CONTENTS
  89.  
  90.  
  91.           Introduction.............................................1
  92.                How to Use This Manual..............................2
  93.  
  94.           Chapter 1 / Installation.................................4
  95.                Diskette Installation...............................4
  96.                Download Installation...............................5
  97.                Installing 4DOS for Windows NT on Your Desktop......5
  98.                4NT Files and Directories...........................6
  99.                Uninstalling 4DOS for Windows NT....................6
  100.  
  101.           Chapter 2 / General Concepts.............................7
  102.                Primary and Secondary Shells........................7
  103.                File Systems (FAT, NTFS, and HPFS)..................8
  104.  
  105.           Chapter 3 / Using 4DOS for Windows NT....................10
  106.                At the Command Line.................................10
  107.                     4DOS for Windows NT HELP.......................10
  108.                     Shared History and Alias Lists.................11
  109.                     Special Characters.............................12
  110.                Executable File Names...............................12
  111.                Redirection.........................................12
  112.                Piping..............................................13
  113.                Internal Variables..................................14
  114.                Variable Functions..................................15
  115.                Batch Files.........................................16
  116.                Startup and Exit Files..............................16
  117.                     Using 4START and 4EXIT.........................17
  118.                REXX Support........................................17
  119.                EXTPROC Support.....................................18
  120.  
  121.           Chapter 4 / Configuration and Tuning.....................19
  122.                Creating and Configuring Icons......................19
  123.                Command Line Options................................20
  124.                Using 4NT.INI.......................................21
  125.  
  126.           Chapter 5 / Command Reference Guide......................23
  127.                DETACH..............................................25
  128.                DIR.................................................26
  129.                DPATH...............................................28
  130.                KEYS................................................29
  131.                SETDOS..............................................30
  132.                START...............................................31
  133.                TITLE...............................................34
  134.                WINDOW..............................................35
  135.  
  136.  
  137.           ___________________________________________________________________
  138.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  i
  139.  
  140.                                                                  INTRODUCTION
  141.           ___________________________________________________________________
  142.  
  143.  
  144.  
  145.           INTRODUCTION
  146.  
  147.  
  148.           Welcome, and thanks for purchasing 4DOS for the Windows NT
  149.           Operating System!
  150.  
  151.           We developed 4DOS for Windows NT to bring the power and convenience
  152.           of our popular 4DOS program to users of the Windows NT operating
  153.           system.  Whether you are a computer novice or an experienced user,
  154.           we think that 4DOS for Windows NT will help you get the most out of
  155.           your Windows NT system.
  156.  
  157.           4DOS for Windows NT, like its cousin 4DOS, is a command interpreter
  158.           or "shell."  We have designed 4DOS for Windows NT to be compatible
  159.           with both 4DOS and with Windows NT's normal shell program, CMD.EXE.
  160.  
  161.           [Our product is named "4DOS", and this version is more fully
  162.           described as "4DOS for the Windows NT Operating System".  For
  163.           brevity, in this manual we often refer to "4DOS for Windows NT",
  164.           "4DOS/NT", or to the program file name, 4NT.EXE or just 4NT.  When
  165.           "4DOS" is used by itself the reference is to our DOS product.
  166.  
  167.           If you are already familiar with 4DOS, please note that 4DOS for
  168.           Windows NT is a complete Windows NT application, and not simply a
  169.           version of 4DOS running under Windows NT's DOS capabilities.]
  170.  
  171.           If you are familiar with 4DOS or with the Windows NT command
  172.           prompt, you won't have to change your computing habits or unlearn
  173.           anything to use 4DOS for Windows NT.  If you know how to use
  174.           commands to display a directory, copy a file, or start an
  175.           application program, you already know how to use 4DOS/NT.  And if
  176.           you are a 4DOS user, you already know how to use most of the
  177.           advanced features that we have built into 4DOS/NT.  You can even
  178.           use many of your 4DOS batch files with 4DOS/NT without changing
  179.           them at all (see pages 12 and 16 for tips about making the batch
  180.           files work properly in both environments).
  181.  
  182.           Once you have 4DOS for Windows NT installed, you can learn its new
  183.           features at your own pace.  Relax, enjoy its power, and browse
  184.           through the manuals occasionally.  Press the F1 key whenever you
  185.           need help.  4DOS for Windows NT will soon become an essential part
  186.           of your computer, and you'll wonder how you ever got along without
  187.           it.
  188.  
  189.           We are constantly working to improve 4DOS/NT.  If you have
  190.           suggestions for features or commands that we should include in the
  191.           next version, or any other way we could improve our product, please
  192.           let us know.  Many of the features in this version of 4DOS/NT were
  193.  
  194.           ___________________________________________________________________
  195.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  1
  196.  
  197.                                                                  INTRODUCTION
  198.           ___________________________________________________________________
  199.  
  200.  
  201.           suggested by our users and beta testers.  We can't promise to
  202.           include every suggestion, but we really do appreciate and pay
  203.           attention to your comments.
  204.  
  205.  
  206.           How to Use This Manual
  207.  
  208.                Because 4DOS/NT is almost identical to 4DOS in operation,
  209.                nearly everything in the 4DOS Reference Manual applies to 4DOS
  210.                for Windows NT as well.  Therefore, we supply both this manual
  211.                and the 4DOS Reference Manual with every copy of 4DOS/NT.  Use
  212.                the 4DOS Reference Manual as your primary manual; this booklet
  213.                is a supplement that explains the added features in 4DOS/NT
  214.                and the occasional differences between the two products.
  215.  
  216.                We publish the manuals in this form because most 4DOS/NT
  217.                customers also use 4DOS.  This supplement helps focus
  218.                attention on the few differences between 4DOS/NT and 4DOS; two
  219.                completely separate manuals would make those differences more
  220.                difficult to pinpoint and to remember.
  221.  
  222.                If you haven't used 4DOS before, look through the Guided Tour
  223.                and other parts of the 4DOS manual to gain a feel for how 4DOS
  224.                for Windows NT works.  Then return to this manual, especially
  225.                Chapter 3, for a discussion of the differences between 4DOS
  226.                and 4DOS/NT.
  227.  
  228.                If you are familiar with 4DOS, you may want to read quickly
  229.                through this manual to get a general feeling for the few
  230.                differences between the two products.  Then you can install
  231.                4DOS for Windows NT on your computer and study the differences
  232.                that affect your computing habits in detail.
  233.  
  234.                There are five chapters in this manual.  Here is what you'll
  235.                find in each:
  236.  
  237.                Chapter 1 / Installation
  238.  
  239.                     This chapter explains how to install 4DOS for Windows NT.
  240.                     Everyone should read this short chapter.
  241.  
  242.                Chapter 2 / General Concepts
  243.  
  244.                     This chapter explains a few basic concepts that you
  245.                     should understand before using 4DOS for Windows NT
  246.                     extensively.
  247.  
  248.  
  249.  
  250.  
  251.           ___________________________________________________________________
  252.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  2
  253.  
  254.                                                                  INTRODUCTION
  255.           ___________________________________________________________________
  256.  
  257.  
  258.                Chapter 3 / Using 4DOS for Windows NT
  259.  
  260.                     This chapter explains the differences between 4DOS and
  261.                     4DOS for Windows NT.  It is a supplement to Chapter 5 /
  262.                     Using 4DOS in the 4DOS Reference Manual.
  263.  
  264.                Chapter 4 / Options and Tuning
  265.  
  266.                     This chapter discusses how to configure 4DOS for Windows
  267.                     NT.
  268.  
  269.                Chapter 5 / Command Reference
  270.  
  271.                     The final chapter provides details about the commands
  272.                     that are new in 4DOS for Windows NT and about those which
  273.                     differ from 4DOS.  It is a supplement to Chapter 8 /
  274.                     Command Reference Guide in the 4DOS Reference Manual.
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.           ___________________________________________________________________
  309.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  3
  310.  
  311.                                                      CHAPTER 1 / INSTALLATION
  312.           ___________________________________________________________________
  313.  
  314.  
  315.  
  316.           CHAPTER 1 / INSTALLATION
  317.  
  318.  
  319.  
  320.           Diskette Installation
  321.  
  322.                If you downloaded 4DOS for Windows NT, see the section on
  323.                download installation below.
  324.  
  325.                When you are ready to install 4DOS for Windows NT, put the
  326.                distribution diskette into drive A (you may use drive B if you
  327.                prefer).  Open a command prompt window, then log into drive A
  328.                by typing:
  329.  
  330.                     a:
  331.  
  332.                and pressing Enter.  One of the files on the distribution
  333.                diskette, README.1ST, contains information that you should
  334.                read before you install 4DOS/NT on your computer.  Type:
  335.  
  336.                     type readme.1st | more
  337.  
  338.                to view the file.  If you want to print a copy of the file,
  339.                type:
  340.  
  341.                     copy readme.1st prn
  342.  
  343.                Now you can start the installation process.  Type:
  344.  
  345.                     install
  346.  
  347.                Once the installation program has started, just follow the
  348.                instructions on the screen and 4DOS/NT will copy the
  349.                appropriate files to your hard disk.
  350.  
  351.                Be sure to install 4DOS for Windows NT in its own directory.
  352.                If you also have 4DOS, do not use the same directory for both
  353.                4DOS and 4DOS/NT files, as some of the file names (for example
  354.                README.DOC) may be the same.
  355.  
  356.                The 4DOS for Windows NT files are contained in a special
  357.                library file on the diskette.  You cannot simply copy the
  358.                files from the diskette onto your system.  You must use the
  359.                installation program to extract and decompress the files, or
  360.                if you need to replace a damaged 4DOS/NT file on your hard
  361.                disk.
  362.  
  363.  
  364.  
  365.           ___________________________________________________________________
  366.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  4
  367.  
  368.                                                      CHAPTER 1 / INSTALLATION
  369.           ___________________________________________________________________
  370.  
  371.  
  372.                Once the installation process is complete, see the section
  373.                below on Installing 4DOS for Windows NT on Your Desktop.
  374.  
  375.  
  376.           Download Installation
  377.  
  378.                If you downloaded 4DOS for Windows NT, simply extract the
  379.                downloaded files into their own directory (do not put them in
  380.                the same directory as your 4DOS files).  Then follow the
  381.                instructions in the next section.
  382.  
  383.  
  384.           Installing 4DOS for Windows NT on Your Desktop
  385.  
  386.                Once you've extracted the 4DOS for Windows NT files, use the
  387.                following steps to create a 4DOS/NT icon on your Windows NT
  388.                desktop:
  389.  
  390.                     * Select the "Main" group
  391.  
  392.                     * Select the Program Manager "File" menu
  393.  
  394.                     * Select "New"
  395.  
  396.                     * Select "Program item"
  397.  
  398.                     * Enter "4DOS/NT Prompt", or any other title you desire,
  399.                       in the Description field
  400.  
  401.                     * Enter the full pathname for 4NT.EXE in the Command
  402.                       Line field (for example, "C:\4NT\4NT.EXE")
  403.  
  404.                     * Enter the directory you wish to start up in (if any)
  405.                       in the Working Directory field
  406.  
  407.                     * Click on "Change Icon"
  408.  
  409.                     * If you receive an error indicating that there are no
  410.                       icons in the file and therefore a Program Manager icon
  411.                       will be used, ignore the error and click on "OK"
  412.  
  413.                     * Enter the full pathname for 4NT.ICO in the file name
  414.                       field (for example, "C:\4NT\4NT.ICO")
  415.  
  416.                     * Click on "OK" to accept the icon
  417.  
  418.                     * Click on "OK" to accept the entry
  419.  
  420.  
  421.  
  422.           ___________________________________________________________________
  423.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  5
  424.  
  425.                                                      CHAPTER 1 / INSTALLATION
  426.           ___________________________________________________________________
  427.  
  428.  
  429.           4NT Files and Directories
  430.  
  431.                The installation procedure places all 4DOS for Windows NT
  432.                files in a single directory.  You may move the files to
  433.                different directories, if you wish.  But you do have to make
  434.                sure that the files can be found by the programs that need to
  435.                use them.  The following information will help you set up your
  436.                system correctly if you are performing a manual installation:
  437.  
  438.                     4NT.EXE is the 4DOS for Windows NT program file.  It must
  439.                     be in the directory specified in the Command Line field
  440.                     for any 4DOS for Windows NT icons.
  441.  
  442.                     4NT.HLP contains the text for the 4DOS for Windows NT
  443.                     HELP command and F1 key.  4NT.HLP must be in the same
  444.                     directory as 4NT.EXE.
  445.  
  446.                     SHRALIAS.EXE is a small utility that saves the shared
  447.                     alias and history list between different 4DOS for Windows
  448.                     NT windows.  SHRALIAS.EXE is normally stored in the same
  449.                     directory as 4NT.EXE.  The directory containing this file
  450.                     should be listed in your PATH statement.
  451.  
  452.  
  453.           Uninstalling 4DOS for Windows NT
  454.  
  455.                In the extremely unlikely event that you have trouble after
  456.                you install 4DOS for Windows NT, you can remove it quite
  457.                easily.  We don't expect you to have any problems, but we know
  458.                some people feel more secure knowing how to uninstall a
  459.                product as well as install it.  Or, you may need to remove
  460.                4DOS/NT from one system if you are moving it to another
  461.                system.
  462.  
  463.                4DOS for Windows NT doesn't make any changes to the Windows NT
  464.                system files.  To remove 4DOS/NT, all you need to do is change
  465.                or delete any icons that refer directly to 4NT.EXE.  You can
  466.                then delete the 4DOS for Windows NT files from your hard
  467.                drive.
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.           ___________________________________________________________________
  480.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  6
  481.  
  482.                                                  CHAPTER 2 / GENERAL CONCEPTS
  483.           ___________________________________________________________________
  484.  
  485.  
  486.  
  487.           CHAPTER 2 / GENERAL CONCEPTS
  488.  
  489.  
  490.           This chapter contains information about Windows NT and 4DOS for
  491.           Windows NT.  Some of the information is general and introductory in
  492.           nature;  other parts of this chapter are fairly detailed and
  493.           technical.  We encourage you to at least scan through this chapter
  494.           to see what is here and to study the sections that appear to have
  495.           relevance to your way of using 4DOS for Windows NT and Windows NT.
  496.  
  497.  
  498.           Executable Files
  499.  
  500.                Windows NT supports several types of applications: DOS, 16-bit
  501.                Windows 3.x, 32-bit Windows 3.x, 32-bit Windows NT (both
  502.                graphical and character mode), 16-bit OS/2 1.x character mode,
  503.                and POSIX.  You can run any of these program types from the
  504.                4DOS for Windows NT prompt or from batch files.  It's not
  505.                necessary to know the application type; Windows NT detects it
  506.                and starts the appropriate subsystem automatically.
  507.  
  508.                4DOS for Windows NT recognizes five executable filename
  509.                extensions: COM, EXE, BTM, BAT, and CMD, and searches for them
  510.                in that order.  You can mix the program types (i.e., DOS,
  511.                Windows, and NT) in the batch files (BTM, BAT, and CMD).  (See
  512.                REXX Support and EXTPROC Support in Chapter 3 for more
  513.                information on special batch file processing.)
  514.  
  515.  
  516.           Primary and Secondary Shells
  517.  
  518.                Primary and secondary shells are used a little differently
  519.                under Windows NT than you may be used to under DOS.  In
  520.                particular, primary shells are more common in Windows NT and
  521.                secondary shells are less common.
  522.  
  523.                Secondary shells are used most often under DOS for "shelling
  524.                to DOS" from an application, and for starting DOS sessions
  525.                under multitaskers or task switchers.  Most Windows NT
  526.                applications don't offer (or need) a "shell to Windows NT"
  527.                capability, and starting 4DOS/NT from its icon creates
  528.                primary, not secondary shells.  As a result, 4DOS/NT secondary
  529.                shells are generally created only for pipes (see page 13), or
  530.                if you start a second copy of 4DOS/NT directly from the
  531.                command prompt.
  532.  
  533.  
  534.  
  535.  
  536.           ___________________________________________________________________
  537.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  7
  538.  
  539.                                                  CHAPTER 2 / GENERAL CONCEPTS
  540.           ___________________________________________________________________
  541.  
  542.  
  543.           File Systems (FAT, NTFS and HPFS)
  544.  
  545.                Windows NT includes support for three different file systems.
  546.                The first is the traditional DOS file system that is based on
  547.                a file allocation table (FAT) and has file names that are
  548.                composed of 8 characters plus a 3-character extension.
  549.  
  550.                The second file system is called NTFS.  File names can be a
  551.                maximum of 255 characters, and the filenames may include
  552.                spaces and other characters not allowed in FAT filenames.
  553.  
  554.                The third file system (developed for OS/2) is called HPFS.
  555.                Like NTFS, file names can be a maximum of 255 characters, and
  556.                the names may include spaces and other characters not allowed
  557.                in FAT filenames.
  558.  
  559.                The file system type is determined when a hard disk partition
  560.                is formatted, and applies to the entire partition.  For
  561.                example, you might have a 400 MB hard disk divided into four
  562.                100 MB partitions, with the first three partitions (C:, D:,
  563.                and E:) formatted for the FAT file system and the fourth (F:)
  564.                formatted for NTFS.  Partition F: would then be available only
  565.                from Windows NT.  It would not be visible from a DOS boot
  566.                outside of Windows NT.
  567.  
  568.                4DOS for Windows NT is compatible with all three file systems.
  569.                Any command that accepts file names will accept both FAT-
  570.                compatible names and NTFS/HPFS-compatible names.  If an NTFS-
  571.                or HPFS-compatible name includes spaces or other characters
  572.                that would not be allowed in a FAT name, you must place double
  573.                quotes around the name.
  574.  
  575.                For example, suppose you have a file named LET3 on a FAT
  576.                partition, and you want to copy it to the LETTERS directory on
  577.                drive F:, an NTFS partition, and give it the name LETTER TO
  578.                SARA.  To do so, use either of these commands:
  579.  
  580.                     [c:\wp] copy let3 f:\"letter to sara"
  581.                     [c:\wp] copy let3 "f:\letter to sara"
  582.  
  583.                Note that the quotes can include the filename only, or the
  584.                entire path.  As long as the portion of the filename that
  585.                includes spaces or other similar separator characters is
  586.                quoted, the filename will be interpreted properly.
  587.  
  588.                You can use the DESCRIBE command to add descriptions to files
  589.                on an NTFS partition, just as you can on a FAT partition.
  590.                This may mean you use two sets of quotes in the DESCRIBE
  591.                command, for example (enter this command on one line):
  592.  
  593.           ___________________________________________________________________
  594.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  8
  595.  
  596.                                                  CHAPTER 2 / GENERAL CONCEPTS
  597.           ___________________________________________________________________
  598.  
  599.  
  600.                     [c:\wp] describe "f:\letter to sara" "letter to sara
  601.                     rimaldi about purchases"
  602.  
  603.                If quotes are required to delimit the NTFS or HPFS file name,
  604.                4DOS/NT will include them in the DESCRIPT.ION file.  This
  605.                keeps the file name and description properly separated from
  606.                each other.  If you use 4DOS under DOS, it will not display or
  607.                modify descriptions for files with quoted NTFS or HPFS names,
  608.                and will not disturb the descriptions 4DOS/NT creates for
  609.                these files.
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.           ___________________________________________________________________
  651.           Copyright 1993, JP Software Inc.           4DOS for Windows NT /  9
  652.  
  653.                                         CHAPTER 3 / USING 4DOS for Windows NT
  654.           ___________________________________________________________________
  655.  
  656.  
  657.  
  658.           CHAPTER 3 / USING 4DOS for Windows NT
  659.  
  660.  
  661.           In use, 4DOS for Windows NT is nearly identical to 4DOS.  The few
  662.           general usage differences are explained in this chapter.  Command
  663.           differences are explained in Chapter 5 (see page 23).  We have
  664.           assumed in this chapter that you have the 4DOS Reference Manual
  665.           available and that you have some familiarity with the corresponding
  666.           4DOS features.
  667.  
  668.           If a section of this chapter seems completely unfamiliar to you, it
  669.           is probably discussing a feature of 4DOS and 4DOS for Windows NT
  670.           that you are not using.  Feel free to read only the sections of
  671.           this chapter that are relevant to the way that you use your
  672.           computer and 4DOS/NT.
  673.  
  674.  
  675.           At the Command Line
  676.  
  677.                The 4NT command line will hold a maximum of 1023 characters,
  678.                instead of the 255 characters available at the 4DOS command
  679.                line.  All other command line editing features work the same
  680.                under 4DOS/NT as they do under 4DOS.
  681.  
  682.                The default 4DOS/NT prompt is [$p] on hard disks and [$n] on
  683.                floppy disks, rather than the corresponding defaults of $p$g
  684.                and $n$g in 4DOS.  This prompt displays the current path or
  685.                drive enclosed in square brackets.  Use the PROMPT command if
  686.                you want to use a different prompt for 4DOS/NT.
  687.  
  688.                For compatibility with CMD.EXE, 4DOS/NT will prompt for
  689.                additional command line text when you include the 4DOS/NT
  690.                escape character (the default escape character is the caret ^)
  691.                as the very last character of a typed command line.  For
  692.                example:
  693.  
  694.                     [c:\] echo The quick brown fox jumped over the lazy^
  695.                     More? sleeping dog. > alphabet
  696.  
  697.  
  698.           4DOS for Windows NT Help
  699.  
  700.                Complete on-line help for all 4DOS/NT commands and features is
  701.                provided with 4DOS/NT.  As in 4DOS, help is invoked with the
  702.                HELP command or the F1 key.  4NT's help text does not cover
  703.                Windows NT external commands.
  704.  
  705.  
  706.  
  707.           ___________________________________________________________________
  708.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  10
  709.  
  710.                                         CHAPTER 3 / USING 4DOS for Windows NT
  711.           ___________________________________________________________________
  712.  
  713.  
  714.                You can keep the help window on the screen and return to the
  715.                4DOS/NT window, switching between the two windows as needed.
  716.                This may be useful when you are writing a batch file, working
  717.                on a complex command, or experimenting with 4NT.
  718.  
  719.  
  720.           Shared History and Alias Lists
  721.  
  722.                By default, 4NT will use the same history list and alias list
  723.                in all windows and in both primary and secondary 4DOS/NT
  724.                shells.  It keeps these lists in shared memory.  This means
  725.                that the aliases that you define in one 4NT window will be
  726.                available immediately in copies of 4NT that are running in
  727.                other windows.  In addition, the history list, which is used
  728.                to record the commands that you type, is updated in all 4NT
  729.                windows whenever you type a command at any 4NT prompt.
  730.  
  731.                If you want to start a 4NT shell or window with unique alias
  732.                and history lists, use the LocalAliases and LocalHistory
  733.                directives in the 4NT.INI file (see page 21) or on the 4NT
  734.                command line (see page 21).  Using the 4NT.INI directive is
  735.                the best choice if you want to have separate alias and history
  736.                lists for all 4NT windows.  You might prefer using the command
  737.                line directive if you want to create a separate list just for
  738.                one particular window or shell.
  739.  
  740.                The memory segments that contain the shared history and alias
  741.                lists are retained as long as there is at least one copy of
  742.                4NT running that supports shared lists.  When all such copies
  743.                of 4NT end, the shared history and alias lists are discarded.
  744.  
  745.                A utility program called SHRALIAS.EXE is included with 4NT.
  746.                It will keep these lists open until your computer is rebooted.
  747.                To use this program, include the following line in your 4START
  748.                startup batch file:
  749.  
  750.                     [d:\path\]shralias
  751.  
  752.                Once SHRALIAS is started, it will remain active until your
  753.                computer is turned off or rebooted, even if the window from
  754.                which it was started is terminated.  To deactivate SHRALIAS,
  755.                enter this command at any 4NT prompt:
  756.  
  757.                     [d:\path]shralias /u
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.           ___________________________________________________________________
  765.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  11
  766.  
  767.                                         CHAPTER 3 / USING 4DOS for Windows NT
  768.           ___________________________________________________________________
  769.  
  770.  
  771.           Special Characters
  772.  
  773.                To maintain compatibility with CMD.EXE, the default values for
  774.                three special characters are different in 4NT than in 4DOS.
  775.                If you want to share batch (BTM or BAT) files or aliases
  776.                between 4NT and 4DOS, you will probably want to select a
  777.                common set of characters for both environments.  You can do so
  778.                with directives in 4NT.INI or 4DOS.INI, or by using the SETDOS
  779.                command.
  780.  
  781.                By default, the command separator is an ampersand [&] in 4NT
  782.                and a caret [^] in 4DOS.  You can select a common command
  783.                separator character with the CommandSep directive or the
  784.                SETDOS /C command.
  785.  
  786.                The default escape character is a caret [^] in 4NT and Ctrl-X
  787.                in 4DOS.  You can select a common escape character with the
  788.                EscapeChar directive or the SETDOS /E command.
  789.  
  790.                4NT batch files and aliases recognize the dollar sign [$] to
  791.                mean all or all remaining replaceable parameters (e.g., %$ or
  792.                %2$).  The corresponding symbol in 4DOS is the ampersand [&].
  793.                You can select a common symbol with the ParameterChar
  794.                directive or the SETDOS /P command.
  795.  
  796.  
  797.           Executable File Names
  798.  
  799.                4DOS/NT is similar to 4DOS in the way it executes programs and
  800.                batch files.  It searches for .COM, .EXE, .BTM, .BAT, and .CMD
  801.                files (in that order), .REX files (if you have Personal REXX
  802.                installed, see page 17 for details), and files with executable
  803.                extensions, in the current directory and then in each
  804.                directory in the PATH.  You can execute any of the application
  805.                types Windows NT supports (NT, Windows, DOS, OS/2, and POSIX)
  806.                from 4NT.
  807.  
  808.  
  809.           Redirection
  810.  
  811.                In addition to the extended 4DOS redirection options, 4NT also
  812.                supports the CMD.EXE syntax
  813.  
  814.                          n>file
  815.  
  816.                and
  817.  
  818.                          n>&m
  819.  
  820.  
  821.           ___________________________________________________________________
  822.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  12
  823.  
  824.                                         CHAPTER 3 / USING 4DOS for Windows NT
  825.           ___________________________________________________________________
  826.  
  827.  
  828.                where [n] and [m] are digits between 0 and 9.  You may not put
  829.                any spaces between the n and the >, or between the & and the m
  830.                in the second form.   The digits represent file handles;  4NT
  831.                interprets "0" as STDIN (standard input), "1" as STDOUT
  832.                (standard output), and "2" as STDERR (standard error).
  833.                Handles 3 to 9 will probably not be useful unless you have an
  834.                application which uses those handles for a specific,
  835.                documented purpose.
  836.  
  837.                The n>file syntax redirects output from handle n to a file.
  838.                You can use this form to redirect two handles to different
  839.                places.  For example,
  840.  
  841.                     [c:\] dir >outfile 2>errfile
  842.  
  843.                sends normal output to a file called OUTFILE and any error
  844.                messages to a file called ERRFILE.
  845.  
  846.                The n>&m syntax redirects handle n to the same location as the
  847.                previously assigned handle m.  For example, to send STDERR to
  848.                the same file as STDOUT, you could use this command:
  849.  
  850.                     [c:\] dir >outfile 2>&1
  851.  
  852.                Notice that you can perform the same operations by using
  853.                4DOS/NT's enhanced redirection features.  The two examples
  854.                above could be written as
  855.  
  856.                     [c:\] dir >outfile >&>errfile
  857.  
  858.                and
  859.  
  860.                     [c:\] dir >&outfile
  861.  
  862.  
  863.           Piping
  864.  
  865.                A pipe takes the standard output of one program (the sending
  866.                program) and uses it as the standard input of a second program
  867.                (the receiving program).  Because of the limitations of MS-
  868.                DOS, 4DOS implements pipes by creating a temporary file to
  869.                collect the output from the sending program.  Once that
  870.                program is done, 4DOS starts the receiving program and sends
  871.                it the contents of the temporary file as its input.  When the
  872.                receiving program ends, 4DOS deletes the temporary file.
  873.  
  874.                Windows NT lets 4DOS/NT implement pipes by starting a new
  875.                process for the receiving program.  The sending and receiving
  876.                programs run simultaneously;  the sending program writes to
  877.  
  878.           ___________________________________________________________________
  879.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  13
  880.  
  881.                                         CHAPTER 3 / USING 4DOS for Windows NT
  882.           ___________________________________________________________________
  883.  
  884.  
  885.                the pipe and the receiving program reads from the pipe.  When
  886.                both programs finish, the process for the receiving program is
  887.                ended automatically.
  888.  
  889.                If you are used to using pipes under 4DOS, you normally will
  890.                not see any difference with a 4NT pipe except perhaps less
  891.                disk activity.  But you may not get the results you expect
  892.                from 4NT if you use a pipe command like:
  893.  
  894.                          [c:\] echo test | input %%var
  895.  
  896.                In 4DOS, this pipe will create an environment variable called
  897.                VAR and set its value as "test."  You will be able to see the
  898.                new variable by typing SET at the 4DOS command.
  899.  
  900.                In 4NT, VAR will be set in the environment that belongs to the
  901.                receiving program.  But that environment will be discarded
  902.                when the pipe has been emptied and the process ends.  You will
  903.                never see VAR in the environment even though 4NT and Windows
  904.                NT are both operating correctly.
  905.  
  906.                The same cautions apply to the "pipe-fitting" commands, TEE
  907.                and Y.  When you use pipes with 4NT, make sure you think about
  908.                any possible consequences that can occur from using a separate
  909.                process to run the receiving program.
  910.  
  911.                Because 4NT does not use temporary files for pipes, the TEMP
  912.                and TEMP4DOS environment variables do not affect pipes in 4NT
  913.                as they do in 4DOS.
  914.  
  915.  
  916.           Internal Variables
  917.  
  918.                The following internal variables are new in 4DOS/NT:
  919.  
  920.                     = is the current escape character (e.g. %=)
  921.  
  922.                     + is the current command separator (e.g. %+)
  923.  
  924.                     _COMSPEC is the full path name of the current shell
  925.                     (4NT.EXE)
  926.  
  927.                     _DAY is the current day of the month (1 - 31)
  928.  
  929.                     _HOUR is the hours in the current time (0 - 23)
  930.  
  931.                     _MONTH is the current month of the year (1 - 12)
  932.  
  933.                     _MINUTE is the minutes in the current time (0 - 59)
  934.  
  935.           ___________________________________________________________________
  936.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  14
  937.  
  938.                                         CHAPTER 3 / USING 4DOS for Windows NT
  939.           ___________________________________________________________________
  940.  
  941.  
  942.                     _PID is the current process ID number.
  943.  
  944.                     _SECOND is the seconds in the current time (0 - 59)
  945.  
  946.                     _YEAR is the current 4-digit year
  947.  
  948.                The following 4DOS internal variables are not available in
  949.                4DOS/NT:
  950.  
  951.                     _ALIAS (4NT dynamically sizes the alias list).
  952.  
  953.                     _DV (DESQView does not run under Windows NT).
  954.  
  955.                     _ENV (4NT dynamically sizes the environment).
  956.  
  957.                     _MONITOR (monitor information is not available in Windows
  958.                     NT).
  959.  
  960.                     _VIDEO (video card information is not available in
  961.                     Windows NT).
  962.  
  963.  
  964.           Variable Functions
  965.  
  966.                The following variable function is new in 4DOS/NT:
  967.  
  968.                     @FSTYPE[d:]: Returns the file system type for the
  969.                     specified drive.  It will return "FAT", "NTFS", or
  970.                     "HPFS".
  971.  
  972.                The following 4DOS variable functions are not available in
  973.                4DOS/NT:
  974.  
  975.                     @EMS (because Windows NT applications do not recognize
  976.                     nor use expanded memory).
  977.  
  978.                     @EXTENDED (because Windows NT applications do not
  979.                     recognize extended memory as a special memory type).
  980.  
  981.                     @LPT (because there is no feasible way to read printer
  982.                     status information directly under Windows NT).
  983.  
  984.                     @REMOVABLE (because there is no feasible way to detect
  985.                     removable drives under Windows NT)
  986.  
  987.                     @TRUENAME (because there is no feasible way to detect
  988.                     true names under Windows NT).
  989.  
  990.  
  991.  
  992.           ___________________________________________________________________
  993.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  15
  994.  
  995.                                         CHAPTER 3 / USING 4DOS for Windows NT
  996.           ___________________________________________________________________
  997.  
  998.  
  999.                     @XMS (because Windows NT applications do not recognize
  1000.                     nor use XMS memory).
  1001.  
  1002.                Also, in 4DOS/NT the @DOSMEM function returns the size of the
  1003.                largest block of free memory, not the total amount of free
  1004.                memory (because total free memory is not an available or
  1005.                meaningful value under a virtual memory operating system such
  1006.                as Windows NT).
  1007.  
  1008.  
  1009.           Batch Files
  1010.  
  1011.                4DOS for Windows NT can execute three kinds of batch files:
  1012.                files with an extension of CMD or BAT, and those with an
  1013.                extension of BTM.  CMD files are Windows NT batch files;  BAT
  1014.                and BTM files can be run by 4NT and by 4DOS.
  1015.  
  1016.                If you run the same .BTM files with 4NT and 4DOS, you should
  1017.                encounter few difficulties.  However, 4NT and 4DOS by default
  1018.                use a different command separator, a different escape
  1019.                character, and a different character for all remaining
  1020.                parameters on a batch file or alias command line.  You may
  1021.                want to use the CommandSep, EscapeChar, and ParameterChar
  1022.                directives in either 4NT.INI or 4DOS.INI, or the corresponding
  1023.                SETDOS switches, to set the same characters in both products
  1024.                (see page 12).
  1025.  
  1026.                Inside a .BTM file, you may need to determine whether the file
  1027.                is being executed by 4NT, by 4DOS running under DOS, or by
  1028.                4DOS running under Windows NT.  You may also want the file to
  1029.                do different things in primary and secondary shells.  The
  1030.                basic rule is to use the internal variable %_DOS to determine
  1031.                the operating system, %_DOSVER to determine the operating
  1032.                system version, and %_SHELL to determine the shell level.
  1033.                Note that in a DOS session, %_DOSVER returns 3.3, 5.0, etc.
  1034.                for the corresponding MS-DOS versions, and 3.1 for Windows NT.
  1035.  
  1036.  
  1037.           Startup and Exit Files
  1038.  
  1039.                4DOS for Windows NT will look for and execute batch files when
  1040.                it starts (4START) and exits (4EXIT).  4START and 4EXIT can be
  1041.                .CMD or .BTM files.  If they have the extension .BTM and are
  1042.                in a directory where 4DOS can find them, they will also run
  1043.                whenever 4DOS starts and exits.
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.           ___________________________________________________________________
  1050.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  16
  1051.  
  1052.                                         CHAPTER 3 / USING 4DOS for Windows NT
  1053.           ___________________________________________________________________
  1054.  
  1055.  
  1056.           Using 4START and 4EXIT
  1057.  
  1058.                If you create a 4START.BTM and 4EXIT.BTM file, you can use
  1059.                them for both 4NT and 4DOS.
  1060.  
  1061.                If you prefer to use different files for 4NT and 4DOS, you can
  1062.                use 4START.CMD for 4NT and 4START.BAT for 4DOS.  You could
  1063.                name your 4EXIT files similarly.  You can also keep the 4START
  1064.                and 4EXIT files separate by placing the files for 4NT in the
  1065.                4NT directory and the files for 4DOS in the 4DOS directory.
  1066.  
  1067.                If you prefer, you can create a file with a name other than
  1068.                4START (for example, STARTNT.CMD) and put its name in the
  1069.                Parameters field for any 4NT icon (see page 19).  Doing so has
  1070.                two advantages.  The file will only be started when a primary
  1071.                4NT shell is started, not under a secondary shell or under
  1072.                4DOS.  Also, you can then use different startup files for
  1073.                different 4NT windows.
  1074.  
  1075.  
  1076.           REXX Support
  1077.  
  1078.                4DOS for Windows NT supports REXX command files through a
  1079.                built-in interface to Personal REXX for Windows NT.  REXX is a
  1080.                a powerful file and text processing language developed by IBM,
  1081.                and available on many PC and other platforms.
  1082.  
  1083.                Personal REXX for Windows NT is a REXX interpreter sold by
  1084.                Quercus Systems of Saratoga, CA, USA.  You must have Quercus'
  1085.                Personal REXX for Windows NT product on your system to enable
  1086.                4DOS/NT's REXX support.
  1087.  
  1088.                Personal REXX files have a .REX extension, and 4NT can also
  1089.                run REXX files with a .CMD extension.  Regardless of the
  1090.                extension, the first two characters in the file must be /*,
  1091.                which indicate the beginning of a REXX comment.
  1092.  
  1093.                4NT checks to see if the first two characters on the first
  1094.                line of a .REX or .CMD file are /*.  If so, it invokes
  1095.                Personal REXX for Windows NT and passes it the batch file
  1096.                name.  Any commands in the file that are not recognized by
  1097.                REXX will be sent to 4NT for execution.  This allows you to
  1098.                embed any valid 4NT command (including internal commands and
  1099.                aliases) within a REXX file which is started from 4NT.  You
  1100.                can also force REXX to pass commands to 4NT by enclosing those
  1101.                commands in single quotation marks.
  1102.  
  1103.                For more information on REXX see your Personal REXX for
  1104.                Windows NT documentation.
  1105.  
  1106.           ___________________________________________________________________
  1107.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  17
  1108.  
  1109.                                         CHAPTER 3 / USING 4DOS for Windows NT
  1110.           ___________________________________________________________________
  1111.  
  1112.  
  1113.           EXTPROC Support
  1114.  
  1115.                4DOS for Windows NT offers an external processor (EXTPROC)
  1116.                option for batch files that lets you define an external
  1117.                program to process a particular .CMD file.  To identify a .CMD
  1118.                file to be used with an external processor, place the string
  1119.                "EXTPROC" as the first word on the first line of the file
  1120.                followed by the name of the external program that should be
  1121.                called.  4NT will start the program and pass it the name of
  1122.                the .CMD file and any command line arguments that were
  1123.                entered.  If you don't specify a pathname for the external
  1124.                processor, 4NT will look in the current directory and then in
  1125.                each directory in the PATH.  4NT will start the external
  1126.                processor and wait for it to finish.
  1127.  
  1128.                For example, suppose GETDATA.CMD contains the following lines:
  1129.  
  1130.                     EXTPROC D:\DATAACQ\DATALOAD.EXE
  1131.                     OPEN PORT1
  1132.                     READ 4000
  1133.                     DISKWRITE D:\DATAACQ\PORT1\RAW
  1134.  
  1135.                Then if you entered the command:
  1136.  
  1137.                     [d:\dataacq] getdata p17
  1138.  
  1139.                4NT would read the GETDATA.CMD file, determine that it began
  1140.                with an EXTPROC command, read the name of the processor
  1141.                program, and then execute the command:
  1142.  
  1143.                     D:\DATAACQ\DATALOAD.EXE D:\DATAACQ\GETDATA.CMD p17
  1144.  
  1145.                The hypothetical DATALOAD.EXE program would then be
  1146.                responsible for reopening the GETDATA.CMD file, ignoring the
  1147.                EXTPROC line at the start, and interpreting the other
  1148.                instructions in the file.  It would also have to respond
  1149.                appropriately to the command line parameter entered (p17).
  1150.  
  1151.                Do not try to run 4NT as an external processor with EXTPROC.
  1152.                4NT and will interpret the EXTPROC line as a command to re-
  1153.                open itself.  The result will be an infinite loop that will
  1154.                continue until the computer runs out of resources and locks
  1155.                up.
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.           ___________________________________________________________________
  1164.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  18
  1165.  
  1166.                                          CHAPTER 4 / CONFIGURATION AND TUNING
  1167.           ___________________________________________________________________
  1168.  
  1169.  
  1170.  
  1171.           CHAPTER 4 / CONFIGURATION AND TUNING
  1172.  
  1173.  
  1174.           4DOS for Windows NT can be configured in three different ways: with
  1175.           command-line options, through its initialization file, and via the
  1176.           SETDOS command.  The SETDOS command is described on page 35 of this
  1177.           manual, and in the 4DOS Reference Manual.  Command line options and
  1178.           the initialization file are described in this chapter.
  1179.  
  1180.  
  1181.           Creating and Configuring Icons
  1182.  
  1183.                You can create as many 4DOS/NT icons as you wish on the
  1184.                Windows NT desktop.  Different icons can be used to start 4NT
  1185.                in different modes, with different startup commands or
  1186.                options, or to run different batch files or other commands.
  1187.                You can use these icons to run commonly-used commands and
  1188.                batch files directly from the Windows NT desktop.
  1189.  
  1190.                Each icon represents a different 4DOS/NT window.  You can also
  1191.                set any necessary command line parameters for 4NT such as a
  1192.                command to be executed, any desired switches, and the name and
  1193.                path for 4NT.INI.  More information on command line switches
  1194.                and options for 4NT, and on 4NT.INI, is included later in this
  1195.                section.
  1196.  
  1197.                For general information on creating and configuring icons, see
  1198.                your Windows NT documentation.  See page 5 of this manual for
  1199.                an example of how to create a new icon for 4NT on your Windows
  1200.                desktop.
  1201.  
  1202.                When you configure a 4NT icon, place command line parameters
  1203.                that you want passed to 4NT (e.g., @ininame) into the
  1204.                Parameters field for the icon.
  1205.  
  1206.                To run a startup batch file for a particular 4DOS/NT window,
  1207.                include its name (with a path, if the batch file is not in the
  1208.                window's startup directory) as the last item in the Command
  1209.                Line field.  That batch file will be executed after any 4START
  1210.                file but before the first prompt is displayed.  You can use
  1211.                the batch file to set environment variables and execute any
  1212.                other 4NT commands.  You can also execute any internal 4NT
  1213.                command, external command, or alias by placing its name in the
  1214.                Parameters field.  When you set up a batch file or other
  1215.                command to run in this way you are using the command option
  1216.                (see below).
  1217.  
  1218.  
  1219.  
  1220.           ___________________________________________________________________
  1221.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  19
  1222.  
  1223.                                          CHAPTER 4 / CONFIGURATION AND TUNING
  1224.           ___________________________________________________________________
  1225.  
  1226.  
  1227.                To execute an internal or external command, an alias, or a
  1228.                batch file and then exit (return to the desktop) when it is
  1229.                done, place /C command (rather than just command) as the last
  1230.                item in the Parameters field.
  1231.  
  1232.  
  1233.           Command Line Options
  1234.  
  1235.                The 4NT command line does not need to contain any information.
  1236.                When invoked with an empty command line, 4NT will configure
  1237.                itself from the 4NT.INI file, run 4START, and then display a
  1238.                prompt and wait for you to type a command.  However, you may
  1239.                add information to the 4NT command line that will affect the
  1240.                way it operates.
  1241.  
  1242.                Command line options for primary shells are set in the Command
  1243.                Line field of the 4NT icon.  Command line options for
  1244.                secondary shells can be set using 4NT.INI directives, or typed
  1245.                on the command line itself following the program name if the
  1246.                shell is started from a prompt.
  1247.  
  1248.                4NT recognizes six optional fields on the command line.  If
  1249.                you use more than one of these fields, their order is
  1250.                important.  The syntax for these options is (all options go on
  1251.                one line):
  1252.  
  1253.                     [d:\path] [@d:\path\inifile] [//iniline]... [/C | /K]
  1254.                [command]
  1255.  
  1256.                In this syntax statement, items in square brackets are
  1257.                optional.  The //iniline option may be repeated.
  1258.  
  1259.                In the descriptions below, d: means a drive letter and \path
  1260.                means a subdirectory name.
  1261.  
  1262.                d:\path     4NT will use this directory and path to set the
  1263.                            COMSPEC environment variable for this window.  If
  1264.                            this option is not used, COMSPEC is set from the
  1265.                            location of 4NT.EXE.  Since 4NT always knows what
  1266.                            drive and directory it was started from, there is
  1267.                            little reason to use this option.  It is included
  1268.                            only for compatibility with Windows NT's default
  1269.                            shell program, CMD.EXE.  This option cannot be
  1270.                            used for secondary shells.
  1271.  
  1272.                @d:\path\inifile
  1273.                            This option sets the path and name of the 4NT.INI
  1274.                            file, which is discussed below.  You do not need
  1275.                            this option if you aren't using a 4NT.INI file,
  1276.  
  1277.           ___________________________________________________________________
  1278.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  20
  1279.  
  1280.                                          CHAPTER 4 / CONFIGURATION AND TUNING
  1281.           ___________________________________________________________________
  1282.  
  1283.  
  1284.                            or if the file is named 4NT.INI and is in the
  1285.                            same directory as 4NT.EXE or in the root
  1286.                            directory of the boot drive.  This option is most
  1287.                            useful if you want to start a 4DOS/NT window with
  1288.                            a specific and unique INI file.
  1289.  
  1290.                //iniline   This option tells 4NT to treat the text appearing
  1291.                            between the // and the next space or tab as a
  1292.                            4NT.INI directive (see below for a discussion of
  1293.                            4NT.INI).  The directive should be in the same
  1294.                            format as a line in 4NT.INI, but it may not
  1295.                            contain spaces, tabs, or comments.  This option
  1296.                            overrides any corresponding directive in your
  1297.                            4NT.INI file.  This option is a convenient way to
  1298.                            send 4NT one or two simple directives without
  1299.                            modifying or creating a new 4NT.INI file.
  1300.  
  1301.                [/C | /K] command
  1302.                            This option tells 4NT to run a command when it
  1303.                            starts.  The command will be run after 4START has
  1304.                            been executed and before any command prompt is
  1305.                            displayed.  It can be any valid internal or
  1306.                            external command, batch file, or alias, and you
  1307.                            may include multiple commands by using the
  1308.                            command separator.  All other startup options
  1309.                            must be placed before the command, because 4NT
  1310.                            will treat characters after the command as part
  1311.                            of the command and not as additional startup
  1312.                            options.
  1313.  
  1314.                            When the command is preceded by a /C, 4NT will
  1315.                            execute the command and then exit and return to
  1316.                            the parent program or the Windows NT desktop,
  1317.                            without displaying a prompt.
  1318.  
  1319.                            The /K switch has no effect; using it is the same
  1320.                            as placing the command (without a /C or /K) at
  1321.                            the end of the startup command line.  It is
  1322.                            included only for compatibility with CMD.EXE.
  1323.  
  1324.  
  1325.           Using 4NT.INI
  1326.  
  1327.                4DOS for Windows NT uses a file of initialization information
  1328.                called the 4NT.INI file.  You can add to and edit this file
  1329.                with any ASCII text editor to set 4DOS/NT options and alter
  1330.                the way that 4NT works.  Most of this section explains the
  1331.                options available through 4NT.INI.  You only need to include
  1332.                entries in 4NT.INI for any settings that you want to change
  1333.  
  1334.           ___________________________________________________________________
  1335.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  21
  1336.  
  1337.                                          CHAPTER 4 / CONFIGURATION AND TUNING
  1338.           ___________________________________________________________________
  1339.  
  1340.  
  1341.                from their default values.  If you are happy with all of the
  1342.                default values, you don't need a 4NT.INI file at all.
  1343.  
  1344.                Some settings in 4NT.INI are initialized when you install
  1345.                4DOS/NT, so you may have a 4NT.INI file even if you didn't
  1346.                create one yourself.  You should not delete this file unless
  1347.                you've checked carefully to be sure that you don't need any of
  1348.                the settings the initialization program put there.
  1349.  
  1350.                In general, the 4NT.INI file works the same as the 4DOS.INI
  1351.                file described in the 4DOS Reference Manual.  The following
  1352.                paragraphs only describe the differences between the two files
  1353.                and the way they are processed.
  1354.  
  1355.                The following directives are new in 4DOS/NT, and are not
  1356.                available in 4DOS:
  1357.  
  1358.                     LocalAliases = Yes | NO:  Normally, 4NT shares one alias
  1359.                     list among all active 4NT windows.  "Yes" forces 4NT to
  1360.                     use a local alias list for the affected window(s) instead
  1361.                     of a shared global list.
  1362.  
  1363.                     LocalHistory = Yes | NO:  Normally, 4NT shares one
  1364.                     history list among all active 4NT windows.  "Yes" forces
  1365.                     4NT to use a local history list for the affected
  1366.                     windows(s) instead of a shared global list.
  1367.  
  1368.                     WindowState = STANDARD | Maximize | Minimize:  Sets the
  1369.                     state of the 4NT window.  "Standard" leaves the window
  1370.                     where Windows NT puts it and is the default.  "Maximize"
  1371.                     maximizes the window; "Minimize" minimizes it.
  1372.  
  1373.                The following 4DOS.INI directives may not be used in a 4NT.INI
  1374.                file.  These directives are specific to 4DOS, or to DOS or
  1375.                features or limitations that do not exist in Windows NT:
  1376.  
  1377.                     Alias             FullINT2E         StackSize
  1378.                     ANSI              HelpOptions       Swapping
  1379.                     AutoExecPath      HelpPath          SwapReopen
  1380.                     DiskReset         LineInput         UMBEnvironment
  1381.                     DVCleanup         MessageServer     UMBLoad
  1382.                     EnvFree           NetwareNames      UniqueSwapName
  1383.                     Environment       Reduce
  1384.                     FineSwap          ReserveTPA
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.           ___________________________________________________________________
  1392.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  22
  1393.  
  1394.                                           CHAPTER 5 / COMMAND REFERENCE GUIDE
  1395.           ___________________________________________________________________
  1396.  
  1397.  
  1398.  
  1399.           CHAPTER 5 / COMMAND REFERENCE GUIDE
  1400.  
  1401.  
  1402.           This chapter provides information about commands that are new in
  1403.           4DOS for Windows NT, and commands which differ from 4DOS.  For a
  1404.           complete reference to 4DOS and 4DOS/NT commands see Chapter 8 in
  1405.           the 4DOS Reference Manual.
  1406.  
  1407.           The following 4DOS/NT commands do not exist in 4DOS:
  1408.  
  1409.                DETACH starts an Windows NT program in detached mode.
  1410.  
  1411.                DPATH sets the search path for data files.
  1412.  
  1413.                KEYS  enables, disables, or displays the history list.
  1414.  
  1415.                START starts a program in a new window.
  1416.  
  1417.                TITLE changes the window title.
  1418.  
  1419.                WINDOW minimizes, maximizes, or restores the 4NT window, or
  1420.                changes the window title.
  1421.  
  1422.           The following commands have different options in 4DOS/NT than they
  1423.           do in 4DOS.  For details on all 4DOS/NT commands, see the online
  1424.           help.
  1425.  
  1426.                ALIAS /R and SET /R support line continuation in 4NT.  To
  1427.                continue a line, end the line with the 4NT escape character.
  1428.  
  1429.                COPY, DEL, GLOBAL, MOVE, and REN support a new "R(est)"
  1430.                response to the prompt options.  Entering "R" will process all
  1431.                remaining files and directories without further prompting.
  1432.  
  1433.                DIR can display directories NTFS and HPFS formats, and has
  1434.                some additional options and changes to the description
  1435.                display.  See page 26 for more details.
  1436.  
  1437.                ESET, SET, and UNSET do not have a /M(aster environment)
  1438.                option in 4NT.
  1439.  
  1440.                INPUT has two new switches.  /E allows editing of the previous
  1441.                value in the variable.  If /E is used and the variable does
  1442.                not exist, INPUT behaves just as it would without /E.  /Ln
  1443.                specifies the maximum input length (e.g. /L40 limits input to
  1444.                40 characters).
  1445.  
  1446.  
  1447.  
  1448.           ___________________________________________________________________
  1449.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  23
  1450.  
  1451.                                           CHAPTER 5 / COMMAND REFERENCE GUIDE
  1452.           ___________________________________________________________________
  1453.  
  1454.  
  1455.                MD / MKDIR has a new option:  /S builds the full path even if
  1456.                parts of it don't exist.
  1457.  
  1458.                RD / RMDIR has a new option:  /S deletes all files and
  1459.                subdirectories before removing the named subdirectory.  Use /S
  1460.                with caution!  This is equivalent to DEL /QSXZ.
  1461.  
  1462.                SETDOS does not have the ANSI and Line Input options that are
  1463.                available in 4DOS.
  1464.  
  1465.           The new commands and the changes to DIR, HELP, and SETDOS are
  1466.           described in detail on the following pages.
  1467.  
  1468.           The following 4DOS commands are not available in 4DOS/NT, because
  1469.           they perform functions that are not meaningful and/or feasible
  1470.           under Windows NT:
  1471.  
  1472.                BREAK                      LOADHIGH / LH
  1473.  
  1474.                CTTY                       SWAPPING
  1475.  
  1476.                KEYSTACK                   TRUENAME
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.           ___________________________________________________________________
  1506.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  24
  1507.  
  1508.                                  CHAPTER 5 / COMMAND REFERENCE GUIDE / DETACH
  1509.           ___________________________________________________________________
  1510.  
  1511.  
  1512.           DETACH                                                 (Compatible)
  1513.  
  1514.           Purpose:    Start an Windows NT program in detached mode.
  1515.  
  1516.           Format:     DETACH command
  1517.  
  1518.                       command: the name of a command to execute, including
  1519.                       an optional drive and path specification.  The name
  1520.                       must be enclosed in quotation marks if it contains a
  1521.                       space.
  1522.  
  1523.                       See also: START
  1524.  
  1525.           Usage:      When you start a program with DETACH, that program
  1526.                       cannot use the keyboard, mouse, or video display.  It
  1527.                       is "detached" from the normal means of user input and
  1528.                       output.  However, you can redirect the program's
  1529.                       standard I/O to other devices if necessary, using the
  1530.                       4DOS/NT redirection symbols.
  1531.  
  1532.                       The command can be an internal command, external
  1533.                       command, alias, or batch file.  4NT always detaches a
  1534.                       copy of itself to execute the command.
  1535.  
  1536.                       For example, the following command will detach a copy
  1537.                       of 4NT to run the batch file XYZ.BTM:
  1538.  
  1539.                            [c:\] detach xyz.btm
  1540.  
  1541.                       Once the program has started, 4NT returns to the
  1542.                       prompt immediately.  It does not wait for a detached
  1543.                       program to finish.
  1544.  
  1545.  
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.           ___________________________________________________________________
  1563.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  25
  1564.  
  1565.                                     CHAPTER 5 / COMMAND REFERENCE GUIDE / DIR
  1566.           ___________________________________________________________________
  1567.  
  1568.  
  1569.           DIR                                                      (Enhanced)
  1570.  
  1571.           Purpose:    Display information about files and subdirectories.
  1572.  
  1573.           Format:     DIR [/1 /2 /4 /A[[:]-rhsda] /B /C /F /J /K /L /M /N
  1574.                       /O[[:][-]deginsu] /P /S /T[:acw] /U /V /W /Z]
  1575.                       [file...]
  1576.  
  1577.                       file:  The file, directory, or list of files or
  1578.                       directories to display.
  1579.  
  1580.                       /1 (one column)        /M (suppress footer)
  1581.                       /2 (two columns)       /N (use HPFS format)
  1582.                       /4 (four columns)      /O (sort order )
  1583.                       /A(ttribute select)    /P(ause)
  1584.                       /B(are)                /S(ubdirectories)
  1585.                       /C(ase -- upper case)  /T (aTtributes or Time)
  1586.                       /F(ull path)           /U (sUmmary information)
  1587.                       /J(ustify names)       /V(ertical)
  1588.                       /K (suppress header)   /W(ide)
  1589.                       /L(ower case)          /X (display short & long names)
  1590.                                              /Z (use FAT format)
  1591.  
  1592.           Usage:      The DIR command is the same in 4DOS/NT and 4DOS,
  1593.                       except that the /N option has a new meaning and the
  1594.                       /T:acw and /Z options have been added.  The 4DOS /N
  1595.                       option, which resets DIR to default values, has no
  1596.                       equivalent in 4NT.
  1597.  
  1598.                       In 4NT, DIR can display the directory in either the
  1599.                       Windows NT File System (NTFS), the OS/2 high
  1600.                       performance file system (HPFS) or traditional DOS-
  1601.                       compatible FAT format
  1602.  
  1603.                       4NT's DIR can also display descriptions up to 200
  1604.                       characters long, with word wrap.
  1605.  
  1606.           Options:    /N:  Display the directory in NTFS or HPFS format.
  1607.  
  1608.                       /T:acw  Specify which of the date and time fields on
  1609.                       NTFS and HPFS drives should be displayed and used for
  1610.                       sorting:
  1611.  
  1612.                            A - last access time
  1613.                            C - creation time
  1614.                            W - last write time
  1615.  
  1616.                       /X:  Display both the short (8.3) and long filenames
  1617.                       on an NTFS drive.
  1618.  
  1619.           ___________________________________________________________________
  1620.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  26
  1621.  
  1622.                                     CHAPTER 5 / COMMAND REFERENCE GUIDE / DIR
  1623.           ___________________________________________________________________
  1624.  
  1625.  
  1626.                       /Z:  Display the directory in DOS-compatible FAT
  1627.                       format.  Long names on NTFS and HPFS drives will be
  1628.                       truncated to 11 characters.  The name will be followed
  1629.                       by a solid right arrow symbol to show that one or more
  1630.                       characters have been truncated.
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658.  
  1659.  
  1660.  
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.           ___________________________________________________________________
  1677.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  27
  1678.  
  1679.                                   CHAPTER 5 / COMMAND REFERENCE GUIDE / DPATH
  1680.           ___________________________________________________________________
  1681.  
  1682.  
  1683.           DPATH                                                  (Compatible)
  1684.  
  1685.           Purpose:    Specify the subdirectories which applications will
  1686.                       search to find files that are not in the current
  1687.                       directory.
  1688.  
  1689.           Format:     DPATH [directory[;directory...]]
  1690.  
  1691.                       directory:  The full name of a directory to include in
  1692.                       the DPATH (data path) setting.
  1693.  
  1694.                       See also: PATH, SET, and ESET in the 4DOS Reference
  1695.                       Manual.
  1696.  
  1697.           Usage:      When most Windows NT applications try to open a data
  1698.                       file, they look for the file in the current directory
  1699.                       first.  If they fail to find the file there, they
  1700.                       search each of the directories in the DPATH setting in
  1701.                       the order that they are included.  4DOS/NT internal
  1702.                       commands like TYPE do not search the DPATH directories
  1703.                       for files.
  1704.  
  1705.                       For example, the following DPATH command directs
  1706.                       applications to look for files in the following order:
  1707.                       the current directory, the INIT directory on C, and
  1708.                       the CONFIG directory on D:
  1709.  
  1710.                            [c:\] dpath c:\init;d:\config
  1711.  
  1712.                       The listing of directories to be searched can be set
  1713.                       or viewed with the DPATH command.  The list is stored
  1714.                       as an environment string with the variable name DPATH,
  1715.                       and can also be set or viewed with the SET command and
  1716.                       edited with the ESET command.
  1717.  
  1718.                       Directory names in the DPATH must be separated with
  1719.                       semicolons [;].  4NT will not shift directory names in
  1720.                       the DPATH to upper case as it does with those in the
  1721.                       PATH setting.  If you want the names in the DPATH to
  1722.                       be in upper case you must enter them that way.
  1723.  
  1724.                       If you enter DPATH with no parameters, 4NT displays
  1725.                       the current DPATH search list.
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.           ___________________________________________________________________
  1734.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  28
  1735.  
  1736.                                    CHAPTER 5 / COMMAND REFERENCE GUIDE / KEYS
  1737.           ___________________________________________________________________
  1738.  
  1739.  
  1740.           KEYS                                                     (Enhanced)
  1741.  
  1742.           Purpose:    Enable, disable, or display the history list.
  1743.  
  1744.           Format:     KEYS [ON | OFF | LIST]
  1745.  
  1746.                       See also: HISTORY in the 4DOS Reference Manual.
  1747.  
  1748.           Usage:      This command emulates the CMD.EXE KEYS command, which
  1749.                       controls the history list.  It is provided for
  1750.                       compatibility with CMD.EXE.  The same functions are
  1751.                       available by setting the HistMin directive in 4NT.INI
  1752.                       and by using the HISTORY command in 4NT.
  1753.  
  1754.                       The history list collects the commands you type for
  1755.                       later recall, editing, and viewing.  You can view the
  1756.                       contents of the list through the history list window
  1757.                       or by typing any of the following commands:
  1758.  
  1759.                            [c:\] history
  1760.                            [c:\] history /p
  1761.                            [c:\] keys list
  1762.  
  1763.                       The first command displays the entire history list.
  1764.                       The second displays the entire list and pauses at the
  1765.                       end of each full screen.  The third command produces
  1766.                       the same output as the first, except that each line is
  1767.                       numbered.
  1768.  
  1769.                       You can disable the collection and storage of commands
  1770.                       in the history list by typing
  1771.  
  1772.                            [c:\] keys off
  1773.  
  1774.                       Once the history has been turned off, you can turn it
  1775.                       back on by typing
  1776.  
  1777.                            [c:\] keys on
  1778.  
  1779.                       If you issue the KEYS command without any parameters,
  1780.                       4NT will show you the current status of the history
  1781.                       list.
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.           ___________________________________________________________________
  1791.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  29
  1792.  
  1793.                                  CHAPTER 5 / COMMAND REFERENCE GUIDE / SETDOS
  1794.           ___________________________________________________________________
  1795.  
  1796.  
  1797.           SETDOS                                                        (New)
  1798.  
  1799.           Purpose:    Display or set the 4DOS/NT configuration.
  1800.  
  1801.           Format:     SETDOS [/C? /E? /I+|- command /M? /N? /P? /R? /S?:?
  1802.                       /U? /V?]
  1803.  
  1804.                       /C(ompound)            /P(arameter character)
  1805.                       /E(scape character)    /R(ows)
  1806.                       /I(nternal commands)   /S(hape of cursor)
  1807.                       /M(ode for editing)    /U(pper case)
  1808.                       /N(o clobber)          /V(erbose)
  1809.  
  1810.           Usage:      The SETDOS command is the same in 4DOS/NT as it is in
  1811.                       4DOS, except that two of the optional parameters are
  1812.                       not available in 4DOS/NT and their values are not
  1813.                       reported.
  1814.  
  1815.                       The /A(NSI) option and the ANSI directive in 4NT.INI
  1816.                       are not available because Windows NT does not support
  1817.                       ANSI screen attributes.
  1818.  
  1819.                       The /L(ine) option and the LineInput INI file
  1820.                       directive are not available because the "line input"
  1821.                       capability is not required for compatibility with
  1822.                       Windows NT applications, as it may be under DOS.
  1823.  
  1824.                       In all other respects, the commands are the same.  See
  1825.                       the 4DOS Reference Manual for a full description of
  1826.                       SETDOS.
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.           ___________________________________________________________________
  1848.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  30
  1849.  
  1850.                                   CHAPTER 5 / COMMAND REFERENCE GUIDE / START
  1851.           ___________________________________________________________________
  1852.  
  1853.  
  1854.           START                                                    (Enhanced)
  1855.  
  1856.           Purpose:    Start a program in another window.
  1857.  
  1858.           Format:     START ["program title"] [/B /C /Dpath /HIGH /I /INV /K
  1859.                       /L /LA /LH /LOW /MAX /MIN /NORMAL /PGM progname
  1860.                       /POS=row,col,width,height /REALTIME /SIZE=rows,cols
  1861.                       /WAIT] [command]
  1862.  
  1863.                       program title:  Title to appear on title bar
  1864.                       path:  Startup directory
  1865.                       progname:  Program name
  1866.                       command:  Command to be executed
  1867.  
  1868.                       /B (no new console)    /LH (local history list)
  1869.                       /C(lose when done)     /MAX(imized)
  1870.                       /D(irectory)           /MIN(inimized) (program name)
  1871.                       /HIGH (priority)       /NORMAL (priority)
  1872.                       /I(nherit environment) /PGM (program name)
  1873.                       /INV(isible)           /POS(ition of window)
  1874.                       /K(eep when done)      /REALTIME (priority)
  1875.                       /L(ocal lists)         /SIZE (of screen buffer)
  1876.                       /LA (local aliases)    /WAIT
  1877.                       /LOW (priority)
  1878.  
  1879.                       See also: DETACH in this manual.
  1880.  
  1881.           Usage:      START is used to begin a new window and, optionally,
  1882.                       to run a program in that window.  If you use START
  1883.                       with no parameters, it will start a new 4DOS/NT
  1884.                       window.  If you add a command, START will open a new
  1885.                       window and execute the command that you have
  1886.                       specified.
  1887.  
  1888.                       The program title, if it is included, will appear on
  1889.                       the title bar.  The program title must be enclosed in
  1890.                       quotation marks and cannot exceed 127 characters in
  1891.                       length.  If the program title is omitted, the program
  1892.                       name will be used as the window title.
  1893.  
  1894.           Options:    /B: Don't create a new window and console.
  1895.  
  1896.                       /C(lose):  The window is started using 4NT.EXE and is
  1897.                       closed when the application ends.
  1898.  
  1899.                       /D(irectory): Specifies the startup directory.
  1900.  
  1901.                       /HIGH: Start as high priority.
  1902.  
  1903.  
  1904.           ___________________________________________________________________
  1905.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  31
  1906.  
  1907.                                   CHAPTER 5 / COMMAND REFERENCE GUIDE / START
  1908.           ___________________________________________________________________
  1909.  
  1910.  
  1911.                       /I(nherit environment):  Inherit the original
  1912.                       environment passed to 4NT rather than the current
  1913.                       environment.
  1914.  
  1915.                       /INV(isible):  Start the window hidden.
  1916.  
  1917.                       /K(eep window at end):  The program is run using
  1918.                       4NT.EXE, and the 4NT window remains after the
  1919.                       application program ends.  Use the EXIT command to
  1920.                       close the window.
  1921.  
  1922.                       /L(ocal lists):  Start 4NT.EXE with local alias and
  1923.                       history lists.  This option combines the effects of
  1924.                       /LA and /LH.
  1925.  
  1926.                       /LA (Local Alias list):  Start 4NT.EXE with a local
  1927.                       alias list.  If you don't use this option, the new
  1928.                       copy of 4NT will share the alias list of the current
  1929.                       4NT shell, unless a LocalAliases=No directive is used
  1930.                       in 4NT.INI or on the command line.
  1931.  
  1932.                       /LH (Local History list):  Start 4NT.EXE with a local
  1933.                       history list.  If you don't use this option, the new
  1934.                       copy of 4NT will share the history list of the current
  1935.                       4NT shell, unless a LocalHistory=No directive is used
  1936.                       in 4NT.INI or on the command line.
  1937.  
  1938.                       /LOW: Start as low priority.
  1939.  
  1940.                       /MAX(imized):  Start the window maximized.
  1941.  
  1942.                       /MIN(imized):  Start the window minimized.
  1943.  
  1944.                       /NORMAL: Start as normal priority.
  1945.  
  1946.                       /PGM (ProGraM name):  The string following this option
  1947.                       is the program name.  The first quoted string on the
  1948.                       line will be used as the window title only, and not as
  1949.                       the program name.
  1950.  
  1951.                       /POS(ition):  Start the window at the specified screen
  1952.                       position.  The full syntax is /POS=row, col, width,
  1953.                       height where the row and column are specified in
  1954.                       pixels from the bottom left corner of the window, and
  1955.                       width and height are specified in characters.
  1956.  
  1957.                       /REALTIME: Start as realtime priority.
  1958.  
  1959.  
  1960.  
  1961.           ___________________________________________________________________
  1962.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  32
  1963.  
  1964.                                   CHAPTER 5 / COMMAND REFERENCE GUIDE / START
  1965.           ___________________________________________________________________
  1966.  
  1967.  
  1968.                       /SIZE:  Specify the screen buffer size in row and
  1969.                       columns.  The full syntax is /SIZE=rows, cols.
  1970.  
  1971.                       /WAIT:  Wait for the program to finish before
  1972.                       returning to the prompt.  This is similar to running a
  1973.                       program directly from the prompt (without START), but
  1974.                       allows you to use options like /MAX or /POS, which are
  1975.                       not available when a program is run directly.
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.           ___________________________________________________________________
  2019.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  33
  2020.  
  2021.                                   CHAPTER 5 / COMMAND REFERENCE GUIDE / TITLE
  2022.           ___________________________________________________________________
  2023.  
  2024.  
  2025.           TITLE                                                  (Compatible)
  2026.  
  2027.           Purpose:    Change the window title.
  2028.  
  2029.           Format:     TITLE title
  2030.  
  2031.           Usage:      TITLE changes the text that appears in the caption bar
  2032.                       at the top of the 4DOS/NT window.  You can also change
  2033.                       the window title with the WINDOW command.
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.  
  2044.  
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.           ___________________________________________________________________
  2076.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  34
  2077.  
  2078.                                  CHAPTER 5 / COMMAND REFERENCE GUIDE / WINDOW
  2079.           ___________________________________________________________________
  2080.  
  2081.  
  2082.           WINDOW                                                        (New)
  2083.  
  2084.           Purpose:    Minimize, maximize, or restore the default window
  2085.                       size, or change the window title.
  2086.  
  2087.           Format:     WINDOW max | min | restore | "title"
  2088.  
  2089.           Usage:      If you specify a new title, the title text must be
  2090.                       enclosed in double quotes.  The quotes will not appear
  2091.                       as part of the title text.
  2092.  
  2093.           Options:    max:  Maximize the window.
  2094.  
  2095.                       min:  Minimize the window.
  2096.  
  2097.                       restore:  Restore the window to its default size.
  2098.  
  2099.                       "title":  Set the window title to the specified text.
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129.  
  2130.  
  2131.  
  2132.           ___________________________________________________________________
  2133.           Copyright 1993, JP Software Inc.          4DOS for Windows NT /  35
  2134.